using Microsoft.EntityFrameworkCore;

namespace ST.Data
{
    public class AppDbContext : DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> options)
            : base(options)
        {
            Id=new Random().Next(10000);
        }
        public DbSet<ProtocolDefine> ProtocolDefine { get; set; }
        public DbSet<ProtocolSim> ProtocolSim { get; set; }
        public DbSet<ProtocolSimHost> ProtocolSimHost { get; set; }

        public DbSet<ProtocolSimLog> ProtocolSimLog { get; set; }
        
        public Int64 Id { get; set; }   
    }
}